﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>抽奖测试页面</title>
    <link href="../../css/bootstrap.min.css" rel="stylesheet" />
    <script src="../../js/jquery-2.1.1.min.js"></script>
    <script src="../../js/bootstrap.min.js"></script>
    <script src="../../js/echarts.js"></script>

    <script type="text/javascript">
        $(function () {
            
            $("#HappyNewYear2").click(function () { //http://rpt.erp-km.cn:58285/weixin/WXActivity/ //ov9svwqAvooelc0ci-kzPiwbvsUg  //ov9svwkHExZ5L4VjkpX59nTYmAEo
                //for (var i = 0; i < 5000; i++) {
                    $.post("Posthandler.ashx", { "action": "HappyNewYear", "openId": "ov9svwvUdyfxQOR9g3dbinSpRJuI" },
                        function (data) {
                            console.log(data.Data);
                        })
                //}
            })

            $("#HappyNewYear3").click(function () {
                $.post("Posthandler.ashx", { "action": "RemoverRedisKey"},
                        function (data) {
                                console.log(data.Data);
                        })
            })

        })

    </script>
</head>
<body>
    <br />
    <bt></bt>
    <button id="HappyNewYear2">领新年红包</button>
    <button id="HappyNewYear3">清空红包浏览数缓存</button>
    
</body>
</html> 